Reorganize Rust benchmark file structure following Neo4jVSDoublets pattern#20
Merged
Reorganize Rust benchmark file structure following Neo4jVSDoublets pattern#20
Conversation
Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: #19
…ttern Split benchmarks into separate psql/ and doublets/ directories for clear comparison between implementations. Each backend now has its own module with dedicated files for each operation (create, delete, update, each/). Key changes: - Created benchmarks/doublets/ and benchmarks/psql/ directories - Split each benchmark file into backend-specific implementations - Added comprehensive module-level documentation with operation tables - Updated bench.rs to use separate criterion groups for each backend - Added documentation comments explaining SQL queries and algorithms This structure mirrors https://github.com/linksplatform/Comparisons.Neo4jVSDoublets making side-by-side comparison of implementations easier. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Reorganized src/benched.rs into: - src/benched/mod.rs - Benched trait definition with documentation - src/benched/doublets_benched.rs - Doublets storage implementations - src/benched/psql_benched.rs - PostgreSQL storage implementations This follows the same pattern used in Neo4jVSDoublets for clear separation between backend implementations. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This reverts commit 0b1c2ee.
Member
Author
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
Now working session is ended, feel free to review and add any feedback on the solution draft. |
Member
Author
🔄 Auto-restart 1/3Detected uncommitted changes from previous run. Starting new session to review and commit them. Uncommitted files: Auto-restart will stop after changes are committed or after 2 more iterations. Please wait until working session will end and give your feedback. |
- Add Rust build artifacts (target/, debug/) to .gitignore following Neo4jVSDoublets pattern - Add rustfmt backup files, mutants.out, and RustRover entries - Fix typo: "diffrence" → "difference" in README.md 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Member
Author
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
Now working session is ended, feel free to review and add any feedback on the solution draft. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR reorganizes the Rust file structure to match the patterns used in Comparisons.Neo4jVSDoublets, making it easier to compare PostgreSQL and Doublets implementations side-by-side.
Fixes #19
Key Changes
1. Benchmark File Structure Reorganization
The benchmarks are now split into two separate modules for clear comparison:
2. Benched Trait Implementation Split
The
Benchedtrait implementations are now organized in a separate module:3. Documentation Improvements
4. Benchmark Organization
criterion_group!for PostgreSQL and Doublets benchmarkspsql_*anddoublets_*) for clear identificationpsql/anddoublets/directories5. Additional Improvements
.gitignore(target/, debug/, *.rs.bk, mutants.out/, etc.) following Neo4jVSDoublets patternComparison with Neo4jVSDoublets
neo4j/,doublets/psql/,doublets/each/each/src/benched/with separate filessrc/benched/with separate filesTest Plan
cargo checkpasses for librarycargo check --benchespasses for benchmarks🤖 Generated with Claude Code